package com.wu.model;

import java.util.Date;

public class CommentModel {
    private  Integer id;
    private String reviewarticles;
    /**
     * 评论人
     */
    private String username;
    private String comments;
    private Date time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getReviewarticles() {
        return reviewarticles;
    }

    public void setReviewarticles(String reviewarticles) {
        this.reviewarticles = reviewarticles;
    }



    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public CommentModel(Integer id, String reviewarticles, String username, String comments, Date time) {
        this.id = id;
        this.reviewarticles = reviewarticles;
        this.username = username;
        this.comments = comments;
        this.time = time;
    }

    @Override
    public String toString() {
        return "CommentModel{" +
                "id=" + id +
                ", reviewarticles='" + reviewarticles + '\'' +
                ", username='" + username + '\'' +
                ", comments='" + comments + '\'' +
                ", time=" + time +
                '}';
    }

    public CommentModel() {
    }
}
